package com.wuzhishan.news.service;


import com.wuzhishan.news.pojo.BlogArticle;
import com.wuzhishan.news.pojo.BlogUser;
import org.springframework.web.servlet.ModelAndView;

public interface articleService {
    ModelAndView getAll(String id, String ord, String page, String Size, ModelAndView mv);

    void addArticle(String title, String group, String content, BlogUser user);

    ModelAndView getArticleById(String articleId, ModelAndView mv);

    ModelAndView recommend(String id, String ord, String page, String pageSize,long userId, ModelAndView mv);

    ModelAndView search(String word, String page, String pageSize, ModelAndView mv);

    void hitPlus(String articleId);
}
